<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023-06-06
  Time: 16:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加</title>
</head>
<body>
<form action="" method="post">
<center><h1>学生考勤系统</h1></center>
  <table border="1">
    <tr>
      <th>学生姓名</th>
      <td>
        <select name="sid" id="">
          <c:forEach items="${studentlist}" var="stu">
            <option value="${stu.sid}">${stu.sName}</option>
          </c:forEach>


        </select>
      </td>
    </tr>
    <tr>
      <th>考勤时间</th>
      <td><input type="text" name="time" required></td>
    </tr>
    <tr>
      <th>考勤状况</th>
      <td>

        已到：<input type="radio" value="1" name="type">
        已到：<input type="radio" value="2" >
        已到：<input type="radio" value="3" >

      </td>
    </tr>
    <tr>

      <td colspan="2"><input type="submit" value="添加"></td>
    </tr>
  </table>
</form>
</body>
</html>
